Codeshare List of user-contributed code snippets for dotCMS Java CMS.

Author: "Dean Gonzalez"

Create a "Parse VTL" Widget Structure

Author: Dean Gonzalez |

This example allows you to execute the code in vtl files by simply browsing for them and saving a piece of widget content.

Handling XML Feeds with Children and Namespaces

Author: Dean Gonzalez |

The code below is a quick example on how to handle nested children in a simple XML feed and how to handle namespace fields that have a : in them.

Pull Nested Child Categories by Parent Category Key

Author: Dean Gonzalez |

Use this example to create dynamic parent/child category listings. The category listings can then become clickable listings to filter content by category...

Content Driven Menus

Author: Dean Gonzalez |

Not recommending this as a best practice or anything because there are a lot of inherent dangers on allowing your menu navigation to be changed by a simple...

Blog Title Search, Category Menu and Blog Tag Cloud

Author: Dean Gonzalez |

This code example shows you how to create the blog title search, blog category menu, and blog tag cloud shown in the right hand column of the image below

Manually Built Blog RSS with Category Filter

Author: Dean Gonzalez |

Manually Built Blog RSS with Category Filter. This goes along with the Blog listing and Blog detail codeshare examples.

Blog Detail Page with URL mapping, inline editing, captcha, commenting, and RSS

Author: Dean Gonzalez |

Blog Detail Page with URL mapping, inline editing, captcha validation, moderated commenting, and an RSS feed

Sample Blog Listing With URL Map, Pagination, Tag&Cat Search

Author: Dean Gonzalez |

Sample Blog Listing With URL Mapping for more friendly URL building, pulling a paginated listing using the new dotContent tool, and Tag and Category search...